import {
  UserOutlined,
  SwapOutlined,
  CodeOutlined,
  ClusterOutlined,      // 消息中间件  
} from '@ant-design/icons';

// 菜单数据
export const routes = [
  {
    path: '/jvm',
    name: 'JVM',
    icon: <CodeOutlined />,
    routes: [
      {
        path: '/jvm/basic-jvm',
        name: 'JVM基础 快速入门',
      },
      {
        path: '/jvm/jvm-spec-guide-introduction',
        name: 'JVM规范 完整指南-1.引言',
      },
      {
        path: '/jvm/jvm-spec-guide-structure',
        name: 'JVM规范 完整指南-2.JVM结构',
      },
      {
        path: '/jvm/jvm-spec-guide-compiling',
        name: 'JVM规范 完整指南-3.JVM编译',
      },
      {
        path: '/jvm/jvm-spec-guide-class',
        name: 'JVM规范 完整指南-4.JVM[Class]文件',
      },
    ]
  },
  {
    path: '/java-concurrent',
    name: 'Java 多线程',
    icon: <ClusterOutlined />,
    routes: [
      {
        path: '/java-concurrent/basic-concurrent',
        name: 'Java多线程 快速入门',
      },
    ]
  },
  {
    path: '/io',
    name: 'IO & NIO',
    icon: <SwapOutlined />,
    routes: [
      {
        path: '/io/basic-io',
        name: 'IO基础 快速入门',
      },
      {
        path: '/io/quickstart-netty',
        name: 'Netty 快速开始',
      },
      {
        "path": '/io/netty-mastery', 
        "name": 'Netty 快速掌握'
      },
      // {
      //   path: '/io/netty',
      //   name: 'Netty',
      // },
      // {
      //   path: '/io/bio-nio-aio',
      //   name: 'BIO/NIO/AIO 对比',
      // },
      // {
      //   path: '/io/reactor-pattern',
      //   name: 'Reactor 模式',
      // },
    ]
  },
  {
    path: '/about',
    name: '关于我',
    icon: <UserOutlined />,
  },
];